package com.dlc.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.io.Serializable;

/**
 * 商家提现申请信息
 *
 * @author YXF
 * @date 2020-04-07 14:22:08
 */
@Data
@TableName("tz_shop_bank_card")
public class ShopBankCard implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId
    @Schema(description = "id")
    private Long shopBankCardId;

    @Schema(description = "店铺id")
    private Long shopId;

    @Size(max = 20, message = "{yami.shop.bank.name.len.less}")
    @Schema(description = "银行名称")
    private String bankName;

    @Schema(description = "银行开户支行")
    private String openingBank;

    @Schema(description = "收款方户名")
    private String recipientName;

    @Schema(description = "收款方账户")
    private String cardNo;

    @Schema(description = "是否默认  1:默认 0:非默认")
    private Integer isDefault;

    @Schema(description = "1.正常，-1.已删除")
    private Integer status;

    @Schema(description = "银行卡号")
    private String bankCardNo;

    @Schema(description = "银行卡/账户属性 0个人银行卡 1企业对公账户")
    private Integer bankCardPro;

    @Schema(description = "支付行号")
    private String unionBank;

    @Schema(description = "省代码")
    private String provinceCode;

    @Schema(description = "市代码")
    private String cityCode;

    @Schema(description = "区代码")
    private String areaCode;

    @Schema(description = "结算卡正面")
    private String debitCardFront;

    @Schema(description = "结算卡反面")
    private String debitCardSide;

    @Schema(description = "开户许可证")
    private String openPermit;

    @Schema(description = "对公账户其他材料")
    private String otherPermit;

    @Schema(description = "银行号")
    private String bankCode;

    @Schema(description = "支行号")
    private String branchCode;

}
